//
//  SoundEngine.h
//  SIPphone
//
//  Created by wrt on 13-11-6.
//  Copyright (c) 2013年 wrtsoft. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface SoundEngine : NSObject<AVAudioPlayerDelegate>
{
    AVAudioPlayer *playerIncomingTone;
    AVAudioPlayer *playerRingBackTone;
}
- (bool)PlayIncomingTone;
- (void)StopIncomingTone;
- (bool)PlayRingBackTone;
- (void)StopRingBackTone;
- (void)PlayMessageTone;

+ (SoundEngine*)shareSound;

- (void)returnSetCategory;
- (bool)LoudSpeaker:(bool)bOpen;

@end
